package com.bw.module_member.adapter

import com.bw.lib_http.entity.MemberEntity
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.yuwei.module_member.R

class MemberAdapter:BaseQuickAdapter<MemberEntity,BaseViewHolder>(R.layout.activity_member) {
    override fun convert(holder: BaseViewHolder, item: MemberEntity) {
        holder.setText(R.id.vip, item.membershipLevel)
        holder.setText(R.id.ri, {item.registrationDate}.toString()+"到期" )
    }

}